package com.dreammakerteam.frameworkdemo.qzhj.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.dreammakerteam.frameworkdemo.qzhj.domain.DQzhjProductHistoryDo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 清真泛化产品追踪 Mapper 接口
 * @author xy
 * @version 0.1
 */
@Mapper
@Repository
public interface DQzhjProductHistoryMapper extends BaseMapper<DQzhjProductHistoryDo> {
    /**
     * 获取指定产品的追踪信息
     * @param prodId 产品id
     * @return 指定产品所有的追踪信息
     */
    DQzhjProductHistoryDo[] get(Long prodId);
}